﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<WebMVC.Models.TaxiRating>" %>
<span class="star-rating">
<span></span>
<span <%= Model.Rating < 2 ? "class=\"disabled-star\"" : ""%>></span>
<span <%= Model.Rating < 3 ? "class=\"disabled-star\"" : ""%>></span>
<span <%= Model.Rating < 4 ? "class=\"disabled-star\"" : ""%>></span>
<span <%= Model.Rating < 5 ? "class=\"disabled-star\"" : ""%>></span>
</span>